<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    div{
      margin: 10px;
      padding: 5px;
      font-size: 10px;
      line-height: 25px;
    }
    #father{
      padding: 0px;
      border: 2px solid #000000;
      position: relative;
    }


    #first{
      background: #a24fff;

    }
    #second,#fourth{
      background: #80D0C7;
      position: absolute;
      top: -10px;
      left: 10px;
    }
    #third{
      background: #3748ff;
      position: absolute;
      left: -10px;
    }
    #fifth{
      background: #e58f4a;
      position: absolute;
      left: 10px;
    }


  </style>
</head>
<body>
<div id="father">
  <div id="first">链接1</div>
  <div id="second">链接2</div>
  <div id="third">链接3</div>
  <div id="fourth">链接4</div>
  <div id="fifth">链接5</div>

</div>


</body>
</html>